<template>
  <div class="HotelDetails-body">
        <div style=" margin-top: 4vw;background: rgba(255, 255, 255, 1);">
            <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">销售额</h1>
                <span class="hoteleDetails-span" style="font-size:20px" @click="onHotelSales">. . .</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
            <div class="hoteleDetails-list">
                <h1 class="hoteleDetails-h1">销售量</h1>
                <span class="hoteleDetails-span" style="font-size:20px" @click="onTotalalesvolume">. . .</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
              <div class="hoteleDetails-list">
                <h1 class="hoteleDetails-h1">订单量</h1>
                <span class="hoteleDetails-span" style="font-size:20px" @click="onTotelsharing">. . .</span>
            </div>
        </div>
         <div style=" margin-top: 4vw;background: rgba(255, 255, 255, 1);">
            <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">酒店数量</h1>
                <span class="hoteleDetails-span">420座</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
              <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">盒子数量</h1>
                <span class="hoteleDetails-span" >5601台</span>
            </div>
        </div>
  </div>
</template>

<script>
// 数据罗盘
export default {
  name: 'Datacompass',
  methods: {
    onHotelSales () {
      this.$router.push({ name: 'DataHotelSales' })
    },
    onTotalalesvolume () {
      this.$router.push({ name: 'Totalalesvolume' })
    },
    onTotelsharing () {
      this.$router.push({ name: 'Hotelsharing' })
    }
  },
  created: () => {
    document.title = '罗盘数据'
  }
}
</script>

<style lang='scss' scoped>
.HotelDetails-body {
  box-sizing: border-box;
  width: 100vw;
  background: #f2f2f2;
  overflow: hidden;
}
.hoteleDetails-list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 14.6vw;
  align-items: center;
  background: rgba(255, 255, 255, 1);
}
.hoteleDetails-h1 {
  margin-left: 3.45vw;
  font-size: 4.53vw;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  color: rgba(22, 22, 22, 1);
}
.hoteleDetails-span {
  font-size: 3.73vw;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  color: rgba(168, 168, 168, 1);
  margin-right: 3.35vw;
}
.hoteleDetails-listBorder{
  float: right;
  width: 96vw;
  height: 1px;
  border-bottom: 1px solid rgba(238, 238, 238, 1);
}
</style>
